package com.open.capacity.db.service;

import com.open.capacity.common.model.DB;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;

import java.util.Map;

public interface DBService {
    PageResult getDBList(Map map);

    Result saveOrUpdate(DB db);

    Result deleteDB(Integer dbId);

}
